package com.wxboot.game.eliminate.base;

/**
 * 果冻类型枚举
 */
public enum JellyType {

    /**
     * 炸弹类型
     */
    NORMAL('B', "普通果冻"),
    HORIZONTAL_BOMB('H', "横向果冻炸弹"),
    VERTICAL_BOMB('V', "坚向果冻炸弹"),
    SQUARE_BOMB('S', "方块果冻炸弹");

    public char type;
    public String desc;

    JellyType(char type, String desc) {
        this.desc = desc;
        this.type = type;
    }

    public boolean isNormal() {
        return this.equals(NORMAL);
    }

    public boolean isVertical() {
        return this.equals(VERTICAL_BOMB);
    }

    public boolean isHorizoncal() {
        return this.equals(HORIZONTAL_BOMB);
    }

    public boolean isSquare() {
        return this.equals(SQUARE_BOMB);
    }

    public char getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

}
